package uk.co.leandro.events
{
	import flash.events.Event;
	import uk.co.leandro.views.Gem;
	
	public class GemEvent extends Event
	{
		public static const CLICKED:String = "gemClickedEvent";
		public static const SELECTED:String = "gemSelectedEvent";
		public static const DESELECTED:String = "gemDeselectedEvent";
		
		public var gem:Gem;
		
		public function GemEvent(type:String, g:Gem, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			gem = g;
		}
	}
}